package model;

import java.awt.Color;
import java.io.File;
import java.io.ObjectOutputStream;
import java.io.Serializable;

import javax.swing.ImageIcon;

/**
 * If the Client doesn't already have a profile (serialized)
 * on the disk, the GUI should prompt to create a new one
 * with new values. Otherwise, it'll load it in.
 * @author Kevin Luikens
 *
 */
public class Profile implements Serializable {
	//private static final long serialVersionUID = -4710811417127707649L;
	private	int				age;
	private ImageIcon		image;
	private String			name;
	private String			location;
	private Color			color;
	
	public Profile( String name, Color color, ImageIcon image ) {
		//TODO Add this data in.
		//this.age = age;
		//this.location = location;
		//this.playerNum = playerNum;
		
		this.setName(name);
		this.setColor(color);
		this.setImage(image);
		
	}


	public void setAge(int age) {
		this.age = age;
	}


	public int getAge() {
		return age;
	}


	public void setImage(ImageIcon image) {
		this.image = image;
	}


	public ImageIcon getImage() {
		return image;
	}


	public void setName(String name) {
		this.name = name;
	}


	public String getName() {
		return name;
	}


	public void setLocation(String location) {
		this.location = location;
	}


	public String getLocation() {
		return location;
	}


	public void setColor(Color color) {
		this.color = color;
	}


	public Color getColor() {
		return color;
	}
	
	
}
